
//
// server detials view controller
//
@interface ServerDetailsViewController : UITableViewController<UITextFieldDelegate, UIPickerViewDelegate, UIPickerViewDataSource>

//
// callback
//
typedef void (^ServerDetailsEditCallback)(BOOL commit, ServerInfo* serverInfo);

//
// server info
//
@property(copy, nonatomic, readwrite) ServerInfo*							serverInfo;

//
// callback
//
@property(copy, nonatomic, readwrite) ServerDetailsEditCallback				callback;

//
// init with server info
//
- (id)initWithServerInfo:(ServerInfo*)serverInfo;

@end
